
#include "member_BEvent.h"

using namespace BWE;

#ifdef _LINUX_
#include <sys/time.h>
#endif

#ifdef _WINDOWS_SYSTEM_
#include <Windows.h>
#endif

member_BEvent::member_BEvent()
{
#ifdef _LINUX_
	timeval tv;
	timezone tz;
	gettimeofday(&tv, &tz);
	time = tv.tv_sec + tv.tv_usec * 0.000001;
#endif
#ifdef _WINDOWS_SYSTEM_
	DWORD usec = GetTickCount();
	time = usec * 0.001;
#endif
	type = Event_None;
	changeType = Change_None;
	focusType = Focus_None;
	key = Key_None;
}
member_BEvent::~member_BEvent()
{

}
